<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include  file="_commonAdmin/title.jsp" %>
<body>   
	<script type="text/javascript">
    //<![CDATA[
       document.getElementById("user").focus();
    /* Must not include external javascript -jnk 06.20.09 */
    //]]>
    </script>
    <%
        if(session.getAttribute("admin") != null){
            response.sendRedirect("member.jsp");
        }
    %>
    <div id="wrap">
            <div id="top-mail"></div>
            <div id="mid">
                <div id="content-wrap" align="center">
                    <html:form method="post" action="/loginAdmin.do">
                        <table width="200px" class="login" cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <td align="left" colspan="2"><strong>Login</strong></td>
                                    </tr>
                                    <tr>
                                        <td class="login_lines">User Id</td>
                                        <td class="login_lines"><html:text property="adminName" size="16"></html:text></td>
                                    </tr>
                                    <tr>
                                        <td class="login_lines">Password&nbsp;</td>
                                        <td class="login_lines"><html:password property="password" size="16"></html:password></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="text-align: center"><input type="submit" tabindex="3" id="login" value="Login" class="input-button"></td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <p style="color:red">
                                                ${requestScope["errorLogin"]}
                                            </p>
                                            <p style="color:red">
                                                ${requestScope["errorLoginEmpty"]}
                                            </p>
                                        </td>
                                    </tr>
                                   </tbody>
                        </table>                        
                      </html:form>
                </div>
            </div>
            <div id="bot-mail"></div>
    </div>
</body>
</html>


